﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ComputerizedRehabForms
{
    public partial class BLBTestForm : Form
    {
        bool started = false;
        public BLBTestForm()
        {
            InitializeComponent();
        }

        private void BLBTestForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }

        private void ss_button_Click(object sender, EventArgs e)
        {
            if (!started)
            {
                started = true;
            }
            else
            {
                DataManager.hideBLBTest();
                DataManager.showBLBResults();
            }
        }

        private void back_button_Click(object sender, EventArgs e)
        {
            DataManager.hideBLBTest();
            DataManager.showLogin();
        }
    }
}
